<template>
  <div class="user-wrapper">
    <el-table
      :data="roleUserList"
      style="width: 100%"
    >
      <el-table-column
        type="index"
        width="250"
        label="序号"
      />
      <el-table-column
        prop="name"
        label="员工姓名"
      />
      <el-table-column
        prop="userName"
        label="登录账号"
      />
    </el-table>
  </div>
</template>

<script>
export default {
  name: 'MemberTable',

  props: {
    roleUserList: {
      type: Array,
      required: true
    }
  }
}
</script>

  <style lang="scss" scoped>
  .user-wrapper {
    padding: 20px;
  }
  </style>
